package com.groupbuying.payproducer.connector;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @Author Vincentxin
 * @Date 2019-05-21
 */
@Service
@FeignClient("bus-order")
public interface OrderFeign {
    //通过订单ID获取订单信息
    @GetMapping("/ushop/getOrderForPay")
    Map getOrderForPay(@RequestParam("orderId")String orderId);
}
